package com.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * Spring cloud clent
 * @Author wangjian (jian.wang@bertelsmann.com.cn)
 * @Date 2016/11/15 10:23
 */
//@ServletComponentScan(value={"com.cloud"})
@SpringBootApplication
@ComponentScan(basePackages={"com.cloud"})
@EnableDiscoveryClient
public class ClientApplication {


    public static void main(String[] args) {
        SpringApplication.run(ClientApplication.class,args);
    }
}
